package com.payment.mapper;

import com.payment.entity.payresults.*;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface NotificationpaymentMapper {

    int findCountByOutTradeno(String out_trade_no);

    void insertPaymentResults(WeiXinNotificationPaymentResults results);

    int findCountByOrderNumber(String orderNumber);

    void insertPaymentResultsPaypal(PayPalNotificationPaymentResults results);

    int findCountByInvoiceNumber(String invoice_number);

    void addPaypalpaymentResults(PayPalPaymentResults results);

    void insertOceanPaymentResults(OceanPaymentResults oceanPaymentResults);

    int findCountByOceanOrderNumber(String order_number);

    void insertPaypalReversed(PaypalNotificationpaymentResultsReversed results);
}
